package com.qfedu.vhr.framework.entity.vo;

import com.qfedu.vhr.framework.entity.Role;

import java.util.List;

/**
 * @author baize
 * @date 2023/1/9
 * @site www.qfedu.com
 */
public class MenuWithRole {
    private Integer id;
    private String url;
    //这个是能够访问当前菜单的角色
    private List<Role> roles;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}
